#include "PathUtil.h"
#include <filesystem>
bool PathUtil::createPathIfNotExist(const std::wstring &path)
{
    try
    {
        return std::filesystem::create_directories(std::filesystem::path(path));
    }
    catch (...)
    {
        return false;
    }
}

std::wstring PathUtil::getExecutablePath()
{
    try
    {
        return std::filesystem::current_path().wstring();
    }
    catch (...)
    {
        return std::wstring();
    }
}